package com.example.administrator.readbook.bean;

/**
 * Created by Administrator on 2018/7/3.
 */

public class BookChapterBean {

    private boolean ok;
    private ChapterBean chapter;

    public boolean isOk() {
        return ok;
    }

    public void setOk(boolean ok) {
        this.ok = ok;
    }

    public ChapterBean getChapter() {
        return chapter;
    }

    public void setChapter(ChapterBean chapter) {
        this.chapter = chapter;
    }

    public static class ChapterBean {

        private String title;
        private String body;

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getBody() {
            return body;
        }

        public void setBody(String body) {
            this.body = body;
        }

        @Override
        public String toString() {
            return "ChapterBean{" +
                    "title='" + title + '\'' +
                    ", body='" + body + '\'' +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "BookChapterBean{" +
                "ok=" + ok +
                ", chapter=" + chapter +
                '}';
    }
}
